<?php

$product_model = new ProductModel($v['uri_data']['category_id'],$v['user_agent']['written_language_id']);

$where = array();
foreach($v['uri_data'] as $column_name=>$column_value)
{
	if(!empty($column_value)&&(in_array($column_name,array_values($v['filter_sort']))))
	{
		$where[$column_name] = $column_value;
	}
}

$v['products'] = $product_model->getProducts($where);

require Common::getUsingTempletePath().'/list/module_product_preview.tpl';

?>